home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / gutil / lprintf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1985-01-23  |  500 b   |  34 lines

  1. # include    <useful.h>
  2. # include    <sccs.h>
  3.  
  4. SCCSID(@(#)lprintf.c    8.1    12/31/84)
  5.  
  6. /*
  7. **  LPRINTF -- labelled printf
  8. **
  9. **    Just like printf, except outputs the process name first.
  10. **
  11. **    Parameters:
  12. **        fmt -- the format.
  13. **        p1 - p6 -- the parameters.
  14. **
  15. **    Returns:
  16. **        none
  17. **
  18. **    Side Effects:
  19. **        none
  20. **
  21. **    Trace Flags:
  22. **        none
  23. */
  24.  
  25. lprintf(fmt, p1, p2, p3, p4, p5, p6)
  26. char    *fmt;
  27. {
  28.     extern char    *Proc_name;
  29.  
  30.     if (Proc_name != NULL)
  31.         printf("%s: ", Proc_name);
  32.     printf(fmt, p1, p2, p3, p4, p5, p6);
  33. }
  34.